package com.ruoyi.project.mydy.personinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 导演或演员个人信息对象 dl_person_info
 * 
 * @author mhg
 * @date 2021-10-07
 */
public class DlPersonInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 人物名 */
    @Excel(name = "人物名")
    private String name;

    /** 英文名 */
    @Excel(name = "英文名")
    private String enName;

    /** 是否导演 */
    @Excel(name = "是否导演")
    private Long isDirector;

    /** 是否演员 */
    @Excel(name = "是否演员")
    private Long isActor;

    /** 粉丝数 */
    @Excel(name = "粉丝数")
    private Long fans;

    /** 粉丝名称 */
    @Excel(name = "粉丝名称")
    private String fansName;

    /** 个人简介 */
    @Excel(name = "个人简介")
    private String intruduce;

    /** 别名 */
    @Excel(name = "别名")
    private String alias;

    /** 身高（单位：厘米） */
    @Excel(name = "身高", readConverterExp = "单=位：厘米")
    private Long height;

    /** 国籍 */
    @Excel(name = "国籍")
    private String country;

    /** 血型 */
    @Excel(name = "血型")
    private Long bloodType;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 民族 */
    @Excel(name = "民族")
    private Long nation;

    /** 出生地 */
    @Excel(name = "出生地")
    private String birthPlace;

    /** 星座 */
    @Excel(name = "星座")
    private Long constellation;

    /** 毕业学校 */
    @Excel(name = "毕业学校")
    private String school;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 经纪公司 */
    @Excel(name = "经纪公司")
    private String company;

    /** 累计票房（单位：万） */
    @Excel(name = "累计票房", readConverterExp = "单=位：万")
    private Long totalMovieProfit;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setEnName(String enName)
    {
        this.enName = enName;
    }

    public String getEnName()
    {
        return enName;
    }
    public void setIsDirector(Long isDirector)
    {
        this.isDirector = isDirector;
    }

    public Long getIsDirector()
    {
        return isDirector;
    }
    public void setIsActor(Long isActor)
    {
        this.isActor = isActor;
    }

    public Long getIsActor()
    {
        return isActor;
    }
    public void setFans(Long fans)
    {
        this.fans = fans;
    }

    public Long getFans()
    {
        return fans;
    }
    public void setFansName(String fansName)
    {
        this.fansName = fansName;
    }

    public String getFansName()
    {
        return fansName;
    }
    public void setIntruduce(String intruduce)
    {
        this.intruduce = intruduce;
    }

    public String getIntruduce()
    {
        return intruduce;
    }
    public void setAlias(String alias)
    {
        this.alias = alias;
    }

    public String getAlias()
    {
        return alias;
    }
    public void setHeight(Long height)
    {
        this.height = height;
    }

    public Long getHeight()
    {
        return height;
    }
    public void setCountry(String country)
    {
        this.country = country;
    }

    public String getCountry()
    {
        return country;
    }
    public void setBloodType(Long bloodType)
    {
        this.bloodType = bloodType;
    }

    public Long getBloodType()
    {
        return bloodType;
    }
    public void setBirthday(Date birthday)
    {
        this.birthday = birthday;
    }

    public Date getBirthday()
    {
        return birthday;
    }
    public void setNation(Long nation)
    {
        this.nation = nation;
    }

    public Long getNation()
    {
        return nation;
    }
    public void setBirthPlace(String birthPlace)
    {
        this.birthPlace = birthPlace;
    }

    public String getBirthPlace()
    {
        return birthPlace;
    }
    public void setConstellation(Long constellation)
    {
        this.constellation = constellation;
    }

    public Long getConstellation()
    {
        return constellation;
    }
    public void setSchool(String school)
    {
        this.school = school;
    }

    public String getSchool()
    {
        return school;
    }
    public void setGender(Long gender)
    {
        this.gender = gender;
    }

    public Long getGender()
    {
        return gender;
    }
    public void setCompany(String company)
    {
        this.company = company;
    }

    public String getCompany()
    {
        return company;
    }
    public void setTotalMovieProfit(Long totalMovieProfit)
    {
        this.totalMovieProfit = totalMovieProfit;
    }

    public Long getTotalMovieProfit()
    {
        return totalMovieProfit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("enName", getEnName())
            .append("isDirector", getIsDirector())
            .append("isActor", getIsActor())
            .append("fans", getFans())
            .append("fansName", getFansName())
            .append("intruduce", getIntruduce())
            .append("alias", getAlias())
            .append("height", getHeight())
            .append("country", getCountry())
            .append("bloodType", getBloodType())
            .append("birthday", getBirthday())
            .append("nation", getNation())
            .append("birthPlace", getBirthPlace())
            .append("constellation", getConstellation())
            .append("school", getSchool())
            .append("gender", getGender())
            .append("company", getCompany())
            .append("totalMovieProfit", getTotalMovieProfit())
            .append("createTime", getCreateTime())
            .toString();
    }
}
